import React, {Component} from 'react';
import Navbar from './component/Navbar';

class App extends Component {
    render() {
        return <div>
            <div>
                <h2>首页</h2>
                <Navbar showLeft={true} title="首页"></Navbar>
            </div>
            <div>
                <h2>详情页</h2>
                <Navbar showLeft={false} title="详情页"></Navbar>
            </div>
            <div>
                <h2>我的</h2>
                <Navbar showLeft={false} title="我的"></Navbar>
            </div>
        </div>;
    }
}

export default App;